/******************************************************************************
    File    :   XXml.cs
    Version :   1.0.0.0
 	Date    :	11/10/2008   10:11
-------------------------------------------------------------------------------
*	Name    :	Nguyen Hung Cuong
*   Class   :   TH2005
*   StuID   :   0512085
*   Mail    :   nhc.hcmuns@gmail.com
-------------------------------------------------------------------------------
	Purpose :	
******************************************************************************/
using System;
using System.Collections.Generic;
using System.Text;
using System.Xml;

namespace _512085_CaroChess
{
    /// <summary>
    /// Xml utilities
    /// </summary>
    public class XXml
    {
        public static XmlElement Load(string filename)
        {
            XmlDocument document = new XmlDocument();
            document.Load(filename);

            return document.DocumentElement;
        }

        public static void Save(XmlDocument document, String filename)
        {
            document.Save(filename);
        }
    }
}
